sending a polite kill before sending a SIGKILL, and properly downscaling
Merge pull request #822 from shatterednirvana/graceful-kill-on-stop

sending a polite kill before sending a SIGKILL, and properly downscaling