A timer for shutting down windows