Run a sync before restarting spectrometer-api