improves Mojo::Server::Prefork to keep sending heartbeat messages when stopping gracefully