1) set aborting flags for all signals because tsleep exited not by timeout and not by wakeup. 2) Simplify expression.