Got it to repeatedly try and query for a server. Has a limited amount of loop-checking.