refactor(cleanup): replace each with sequential promise chaining