[bugfix] stop all sessions when termination signal is received, otherwise program will not exit
[bugfix] when server is stopped, callback OnClientDataReceived() will be called with operation_aborted error, so check server's state in that callback to distinguish normal server stop from real application error