Removed statement close() call