hmm, seem that it asks about reconnection even when query has syntax error
from messages tab: ERROR: syntax error at or near "to" СТРОКА 3: substring(sender from 1 to 11), ^ ********** Ошибка ********** ERROR: syntax error at or near "to" SQL state: 42601 Символ: 52
If a query fails because of a bad connection, the query tool will ask the user if he wants an automatic reset. If yes, it'll try to reset the connection.