Does not try to read from a closed connection.