@haukex: thanks for looking into this.
The application is few hundred lines long, so definitely something elsewhere might have an impact, however I could not easily isolate the issue.
Any suggestion how to approach debugging this.
Also, could the delayed signal issue (see safe/unsafe signal) result in the error message about the missing signal handler?
Anything else that could de-register a signal handler?