Call clearCachedLocationForServer while handling connection error