Update README with close() in example