Allow closing of cursors.