OSX: Optimized WaveFormCacheService by adding Monitor.Wait/Monitor.Pulse instead of sleeping constantly in the worker thread.