minor changes
catch exceptions in SocketSession