Server - method 'send', when a client close connection and the server is write to socket at the moment throws a exception.