Thread now can end and be joined by the parent process (App exits cleanly now).