Remove close() method from Socket.