Here I asked the question about SIGTERM and I get the answer: Windows can\'t emit this signal. But I geet the same problem for Linux (I wrote new code example).
SIGTERM