avoid standard behavior with setCancelled