'Terminate instantiated services'

def terminate(self):

    for (service_name, service) in self.services.iteritems():
        try:
            service.terminate()
        except:
            logger.error((u'Exception    raised    when    terminating    service    %s' % service_name), exc_info=True)
