'Pauses the reactor, returns PluginError. Gets called when connection to deluge daemon fails.'

def on_connect_fail(self, result):

    log.debug((u'Connect    to    deluge    daemon    failed,    result:    %s' % result))
    reactor.callLater(0, reactor.pause, plugin.PluginError(u'Could    not    connect    to    deluge    daemon', log))
