On the stability of spectra under coverings