Indent DB Connect block in loop