style and readability
use an ENV variable for running job cancellation
check server mode for StatsD