Nx vs. Python performance for sentence-transformer encoding

Nice, I will investigate. Also, I recommend playing a bit with the timeout just in case (try 10ms and 1000ms as a double check).