remove not used methods
instanciate ts client before each call and use threaded tasks