fixed invoke_cancel_orders so that events on event queue are now take…