Using a mockservice if service is not availalbe.