Fix cloudi_service_api functions service_subscriptions/2 and services_search/2 for services that use duo_mode set to true. Improve the internal service cloudi_service_terminate function execution time limit enforcement.