contrib/pyopenssl: fix busyloop with timeouts
Merge pull request #340 from t-8ch/pyopenssl_timeouts

contrib/pyopenssl: fix busyloop with timeouts.