slightly delay shutdown of run_locally.js daemons to avoid shutdown races
fix a couple of jshint nits while I'm here (not all)
Merge pull request #3480 from jrgm/issue3465-start-stop-chill

slightly delay shutdown of run_locally.js daemons to avoid shutdown races