@property
    def _connected(self):
        return self.pipe is not None and not self.pipe.closed()