Fix assertion error message when calling Task.interrupt from outside of the event loop. See #443.