Also, not sure of this, but your Simulator price feed might be delayed, don't know who you're with, but since its just a sim, maybe that is causing you to think you have time to cancel an order but it is already being filled/pending fill because of some small simfeed delay...
On a reliability...