Boilerplate for forking node js child processes for CPU intensive logic