now xsignal only writes out if on master thread to avoid cluttering of sig file