Fix ResourceLeak warning with CPython3
Fix ResourceLeak warning with CPython3

akosiaris/jira,dbaxa/jira,dwmarshall/pycontribs-jira,VikingDen/jira,dbaxa/jira,m42e/jira,kinow/jira,m42e/jira,coddingtonbear/jira,awurster/jira,pycontribs/jira,awurster/jira,milo-minderbinder/jira,rayyen/jira,pycontribs/jira,coddingtonbear/jira,dwmarshall/pycontribs-jira,milo-minderbinder/jira,stevencarey/jira,VikingDen/jira,akosiaris/jira,stevencarey/jira,kinow/jira,rayyen/jira