fails:IO#closed? returns true on closed stream
