a simple app for timing shutdown