delay starting and stop before shutdown