Consolidated kill() and stop() into shutdown() with three levels