Simple timed shutdown (based on MFC)