Merge "Check process state when killing background processes for density" into nyc-dev