As we cannot be sure that UIApplicationWillTerminateNotification will be fired, let's clear the cache when entering background