Add some check of return value

Check signal().
Check recv().
Modify check of setitimer().