Prevent reseting connection after a query.