added terminate parameter for shutdown methods of services, so as to prevent clean-up before shutdown.
Merge pull request #1264 from enesakar/master-terminating-services

added terminate parameter for shutdown methods of services