moving get spectra request to it's own thread