def scheduleOnlineTimeout(self):
        # This will automatically shut down the node if we don't get any
        # ping acknowledgements for a while

        if self.onlineTimeout_dcall:
            self.onlineTimeout_dcall.reset(ONLINE_TIMEOUT)
            return

        def cb():
            self.onlineTimeout_dcall = None
            self.main.showLoginStatus("Lost Sync!")
            self.main.shutdown(reconnect='normal')

        self.onlineTimeout_dcall = reactor.callLater(ONLINE_TIMEOUT, cb)