remove sleep from example as we now cleanup threads ourselves
windows not supported by this method