Use select() not threads so only one process controls the radio