Hello, I have try using the timeoutsocket library, by inserting this inside the z2.py : sockettimeout=60 import timeoutsocket timeoutsocket.setDefaultSocketTimeout(sockettimeout) Still get the same result: it hang. And it's probably normal. Gilles