Handle ConnectionRefused errors