Abort coroutine if allocating strbuf fails