Fixes a deadlock reported against WASAPI which leads to inability to make calls.