Make sure callback is done asynchronously for a cached wsdl

The PR fixes the callback when the wsdl is found in the cache. The synchronous callback breaks the assumption that callback should only happen after the function is done.