Using a mockservice if service is not available.