Timer and shut down nicely examples