create tsw_client & test connection