Remove unneeded close.