also rescue SystemCallError because:

Errno::ECONNRESET is not an IOError