About a simple timeout all clear (Documentation:
"timeout => $seconds
The time-out to use for various stages - each connect attempt will reset the timeout, as will read or write activity, ie this is not an overall timeout." )
But how to set overall timeout, which does not reset?