contrib/pyopenssl: fix busyloop with timeouts

For rationale and history see kennethreitz/requests#1910