Changed 6029 to use _RESTART_DEVICE instead of deleteAllThreads().
Merge pull request #54 from roydude/v1-train

Changed 6029 to use _RESTART_DEVICE instead of deleteAllThreads().