Switch retryOnSocketError to errorCodes array with 'sensible' defaults