lock results.json before writing it
write the worker's id to results.json

the web ui need to know which worker to talk to
forward signal to start.pl

for whatever reason killing the process group from within the worker
doesnt work so install this workaround