CUDA: Device: 0 Thread exited with code: 46
CUDA: Device: 1 Thread exited with code: 46
CUDA: Device: 2 Thread exited with code: 46
CUDA: Device: 3 Thread exited with code: 46
CUDA: Device: 4 Thread exited with code: 46
ERROR: Some workers are stopped. Attempt to restart: 2
CUDA: Device: 0 GeForce GTX 1070, 8192 MB M0
CUDA: Device: 0 Thread exited with code: 46
CUDA: Device: 1 GeForce GTX 1070, 8192 MB M0
CUDA: Device: 1 Thread exited with code: 46
CUDA: Device: 2 GeForce GTX 1070, 8192 MB M0
CUDA: Device: 2 Thread exited with code: 46
CUDA: Device: 3 GeForce GTX 1070, 8192 MB M0
CUDA: Device: 3 Thread exited with code: 46
CUDA: Device: 4 GeForce GTX 1070, 8192 MB M0
CUDA: Device: 4 Thread exited with code: 46
Just got the same glitch, restarting the script worked fine.
Some time ago I had kind of the same problem with Claymore and my AMD's.
hint to EWBF: Setting the (-r 240) "restart by user" switch to every 4 hours solved my problem.