(QE-498) with_puppet_running_on can fail if TCP handshake takes > 1s

- found solution online using non-blocking sockets, works locally