You could also use `self.tempOffline()` and the core will handle the situation.