run should rely on processes before shutdown