Medium: services: Improve the performance of synchronous actions (bnc#803969)

The synchronous actions such as fetching RA meta-data are not efficient.
It's very usual that such actions take more than 1 second. This commit
improves the performance.

Based on the work from Lidong Zhong <lzhong@suse.com>