Duplicate communicator before pthread_create
Hotfix sc.c for threaded error checking