501.kill tasks on shutdown

Addresses #501.

@matthewrmshin et.al. please review.