feat(loader): introduce looping prevention