Fix client crashing when server is pinged as offline