Status file from cmd line, graceful shutdown, testing of periodic callbacks (if needed)