Strange bug fixed: on resync, TSCH dies sometimes after a long time of simulation