The SocketListener exception handling.