Se atrapa la excepcion java.net.SocketException: Connection reset by peer: socket write error