Removed unneeded Close calls