Prevent accessing database and server if the app wasn’t properly restored. Apparently ASIHTTPRequest will sometimes process requests in its own loop before UIApplicationDidBecomeActiveNotification is properly dispatched.
Useful when coming back from background/inactive states.