Put Spectrogram computation in a separate thread