If we disable the banner on the connection server and allow the users to connect from external network via UAG, does it still stuck on loop.
If YES, then it is not related to banner. You may also need to check the session persistence on Load Balancer infront of UAG if any.