Give the server a second to come up, and fix multiple java instances