Added a just-in-case sleep to keep from hitting the server too much when listen fails repeatedly.