use nodes child_process.kill to send SIGTERM instead of just killing. should be windows compatible #6