Revert connection.destroy() for connection close event