ao/wasapi: also free the threadLoop handle on uninit

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682453%28v=vs.85%29.aspx
ao/wasapi: Don't free stuff the thread may still be using on timeout

In the unlikely event of a timeout waiting for the audio thread to return,
don't free stuff that it may still be using.