Made client not crash if server has not started