[iossink/osxsink] - don't deadloop in drain when device is gone - but
handle timeout
[iossink/osxsink] - fixed - condvar has to wait on the mutex - not on the singlelock
Merge pull request #4383 from Memphiz/osxbreakdrain

[osxsink] - fix deadloop in drain