Prevent crash on dst initialization failure
server might be created, but not yet fully initialized, when fatal function is called. Check both server and task before attaching exclusive task.
(cherry picked from commit c5e7152c)
server might be created, but not yet fully initialized, when fatal function is called. Check both server and task before attaching exclusive task.
(cherry picked from commit c5e7152c)