do not segfault on cancellation