On Windows 2012R2 client installed as a service does not shutdown properly

During service shutdown OS says than the service has been shutdown abnormally