worker process.pid fix, should fix #2