rescue from connection errors