handle failed client