use an ENV variable for running job cancellation
check server mode for StatsD
Merge pull request #114 from zendesk/sdavidovitz/server_mode

use an ENV variable for running job cancellation