A cooling storage ring for an electron-ion collider