added POSIX signal wrapper