`__detect_and_execute_handler` is actually a Deferred (inlineCallbacks), so it will still return NOT_DONE_YET before writing, theoretically.