Fix for #5937 Connection::run breaks transaction logic when connection lost inside transaction.