Removed unneeded close.