close cursors on DESTROY, RT#26262