Multithreading using SPresence with Arduino SDK