A crash was sometimes seen when multiple cursors were open at the same time for queries requiring the MM subsystem. The problem did not occur if cursors were properly closed when they were not used anymore. The logic has been changed to continue and return an error code up the stack in such situations.