Possible fix for infinite loop in getting next packet size (may not be necessary)
Prevent WASAPIStream from deadlocking on disconnect.
- Only wait for up to a second for ongoing processing to complete (it should only take 10ms!)
- If the second expires, just carry on with disconnect processing