added case for api request exception. add refresh interval metric.