The Service Control Manager, which is responsible for starting and stopping services, allows each service 20,000 milliseconds (20 seconds) to shut down. Some services might require more time to shut down; otherwise the service might be left in a "dirty" state.
Further, if you receive the "Wait" or "End Task" message when shutting down your machine or stopping/starting FireDaemon services, it might be an indication that the service needs more time to orderly complete its shutdown. Other factors might also affect the timeliness of a service shutdown (eg. CPU, disk and RAM bottlenecks).
In order to increase the service shutdown you will need to modify the registry key:
Enter the new value in milliseconds.
A reboot is required for change to take effect and affects all services.