Explicitly set EXITFUNC to thread