def connectionLost(self,reason="connectionLost"):
     SerialPort.connectionLost(self,reason)
     self.deferred.callback("connection failure")