catch all rest client exceptions during initialization