The Windows Service Control Manager (SCM) is responsible for starting and stopping services. The SCM gives each service a maximum of 5000 milliseconds (5 seconds) to shut down during system shutdown or reboot. Otherwise, the SCM will terminate the service (i.e. kill the underlying process).
Further, if you receive the "Wait" or "End Task" message when shutting down your machine or stopping FireDaemon Pro services, it might be an indication that services need more time to orderly complete their shutdown. Machine performance factors that influence a service's ability to shut down in a timely manner include CPU and RAM capacity and disk bottlenecks.
In order to increase the service shutdown time you will need to modify the following registry key:
Enter the new value in milliseconds. The value should be greater than 5000 (e.g. 20000.
A reboot is required for change to take effect. This change affects all Windows services. For more information please see this Microsoft article.