Track queue worker pids and kill on exit

When spawning the queue worker processes, keep a list of their process IDs
and write them to the pidfile.

When exiting, send SIGKILL to the queue worker processes.