* Fix for crashes on threads starting with a while() loop