If you do not explicitly close a cursor, it will be closed at the end of the task. But if you try to re-open this cursor to process it, you will get an error. That is why a cursor should be explicitly closed after it has been processed.
== See
* https://cwe.mitre.org/data/definitions/459[MITRE, CWE-459] - Incomplete Cleanup