destructs the connection when a client which in transaction state exits