def release(self):
    self._set_stream(self._original)
    try:
        return self._get_value(self._stream)
    finally:
        self._stream.close()
        self._avoid_at_exit_errors(self._stream)
def release(self):
    self._set_stream(self._original)
    try:
        return self._get_value(self._stream)
    finally:
        self._stream.close()
        self._avoid_at_exit_errors(self._stream)