Synchronize session status changes, references #214
Synchronize reader loop status changes, references #214
Ignore I/O exceptions when closing connection
One more test case
Explain