Implement cancel method to avoid dumps when cancelling the order