Hackers also love auto-restarting services.
Exploitation of vulnerabilities isn’t always 100% reliable. Heap grooming might be limited or otherwise inadequate.
A quick automatic restart keeps them in business without any other human interaction involved.
Took me a minute to realize what you meant with "hackers". Quite the irony, given the name of the site we are having this conversation on.