Try to clear sigprocmask before calling subprocess