Open the query view and make some queries. In the object explorer connect to another database. Go back to the query view and observe that the dropdown does not include the new connection. I assume it's the same case for disconnections.