cache clear in background thread