fix to ignore error raised by syscall(signal)