MULE-7893 Avoid endpoint caching ad infinitum

This line is the same as line 73. May be we could create a initializeCache method.