Add missing close() statement