Error handling for 502 (lost session or kom server).