Clear pending requests on errors
Add Environment.cachedDispatchers