Add the __del__ method to TcpConnection