Removed the try/except in constructor, moved the client object creation to separate method.