prevent crashing when server not ready