Fix clear task to work even when there are no running containers to kill.