add wait for async requests to avoid blocking requests