Restart signal handlers according to SysV/C99 semantics