I need to be able to run for an hour and stop for the testing. Should probably be done in the data loop, as it's already a thread that loops forever