Test mode: trigger graceful shutdown to halt process