Make sure the server is up when the class is initialized