added try and except back in for running client method