Do not close cursoron destroy. Fixes multiselect exception.