Fix file descriptor leak
Fix file descriptor leak

Thanks Cedric Buissart <cbuissar@redhat.com>!

latchset/jose,latchset/jose,rjpontefract/jose,npmccallum/jose,npmccallum/jose,rjpontefract/jose,npmccallum/jose