contrib: pyopenssl: correctly close connections

fixes https://github.com/shazow/urllib3/issues/195