arduino reset after closing the thread, rds timeout relies on a count of the signal level samples