win32 received_sigterm patch by (Bill Eldridge <bill at rfa dot org>)