Do not close cursor on destroy. Fixes multiselect exception.