fix crasher : detect ServiceClient initialization failure and throw