sleep to allow boost::lock_guard to unlock