Remove unnessesary contextlib.closing