[coop] Switch to GC safe around pthread_join