What is best way to stop the connection retry in Java SDK 2.1.4

@GeorgeLeon in what context does it happen? Normally if you can’t bootstrap it will stop reconnecting - any code you can show us to clear it up further?