title: Why does Data Grip keep connecting to database?
body: <p>running Data Grip 2018.3 on OSX 10.12.</p>
  
  <p>It seems that most actions require reconnecting to the DB which makes even simple actions to the DB take longer than expected.</p>
  
  <p>Examples:</p>
  
  <ul>
  <li>Double clicking on a table to view the data, even on a single row table, takes 20 seconds. The fetch takes 50ms as indicated by the UI, but prior to that the processing wheel displays for a few seconds.</li>
  <li>Or executing a DDL like an insert, again it takes a few milliseconds, but again it seems to start processing for a bit and then it works.</li>
  <li>Or doing a refactoring at the bottom it shows connecting to DB for a few seconds, then it executes and it seems to take long to refresh the UI with the new change. Like renaming a column.</li>
  </ul>
  
  <p>Note these actions are being done on either really small tables or empty tables. So it's not a data size delay.</p>
  
  <p><strong>Update 2019-01-22:</strong></p>
  
  <ul>
  <li>SQL Server 2016</li>
  <li>Non SSH/SSL</li>
  <li>SQL Server JDBC drivers</li>
  <li>UI doesn't freeze. The processing circle appears and rotates.</li>
  <li>Queries runs within milliseconds 100ms or less. Just seems like the connection takes long. See point above.</li>
  <li>It seems to reconnect/synchronize on each action.</li>
  </ul>