mask all signals in signal handler