Documentation for task health checking and graceful shutdown.