Multithreading throw segmentfault occationally

OK as suggested from slack, I set JULIA_COPY_STACKS=1 and now it works without segment faults! I’m not sure about why however.