First try to fix #1571. Propagate shutdown timeout to Executor and CommandExecutor via env variable. Remove escalation constant for command executor.
Second try to fix 1571.