func connect() throws -> Connection {
        guard let descriptor = self.descriptor else {
            throw ClosedDescriptorError.alreadyClosed
        }