Synchronize addResult and onResolved in SpotifyResolver.