improve running and shutdown printfs