Only close un-named cursors.