# Connections

## Time out limit

You can set a time out limit for queries so TablePlus will auto kill the queries when it doesn't receive any responses after a relatively long waiting period.

* In the Settings/Preferences dialog (**`⌘ + ,`**), go to General tab
* Set the time out limit at the Query time out box. Default is 300s.

## Keep connection alive

If enabled, TablePlus will ping the servers every 30 seconds to keep the connection active and avoid being disconnected.

* In the Settings/Preferences dialog (**`⌘ + ,`**), go to General tab
* Tick/untick the **`Keep connection alive`** to enable/disable it.
