'Remove the protocol created in C{buildProtocol}.
@param result: The result/error passed to the callback/errback of
L{defer.Deferred}.
@return: The C{result} untouched.'

def _removeProtocol(self, result):

    if self.currentProtocol:
        self.currentProtocol = None
    return result
