Fix err res mixup, finish promise cycle.