Fixed idle state handling (both, reader and writer must be idle to close a connection)