Python: added send timeout