b8461e8
Shut down duplicated file handle when HTTP response code is not 200. httplib purposely keeps the socket open as a file on failed requests. We need to close this file otherwise nss_shutdown() will fail. https://fedorahosted.org/freeipa/ticket/1807