Sorry for wrong suggestion. I can see that we have another async here `_showErrorAndNotify(err, fullPath);` So we should resolve it only after this call is done.