closeResourcesRelatedToCompletedServiceRequests

This function fetches completed service requests from the local database. For each of the service requests functionality for closing related resources is triggered The related resources are configured in the application config file.