For some reason workers did not exit when cocaine closed them. It looks ...

...like there is some complicated problem that requires serious debugging. This commit is a quick fix that forcibly closes the application. Two day tests shown that it worked. There may be still a problem though with small probability.