This bug was opriginally reported in devel by Dimitry Sibiryakov.
When classic server is used in embedded mode (is loaded into user
application's space), it handles TERM signal. But it looks like it
doesn't call other signal handlers in queue. As the result - signal
handler, set in application, isn't executed and the application continue