Windows service "shutdown timed out" but status eventually "Stopped"
I'm on a Windows 10 VM created with Hyper-V Quick Create (Windows 10 Enterprise Evaluation 1809 17763.134). I'm trying to stop the service (using an Administrator PowerShell session).
$ ./gitlab-runner.exe stop
The Event Viewer shows a Fatal error.
[31;1mFATAL: shutdown timed out [0;m
I watched the service status and it went from Running, to StopPending, and, after the error appeared in the Event Viewer, it eventually reported Stopped.
Why is it timing out? Why isn't there more info in the log? How does it end up Stopped if it timed out?