wasapi: Handle return value of WaitForSingleObject The wait could've failed for whatever reason, we should handle that.