Hello, i have a problem.
"Miner thread hangs, need to restart Miner"
I keep getting this error after about a hour of mining, not sure why I keep getting it. The miner itself freezes at a certain time period and only hitting a keyboard button will bring up the error and restart the miner.

Swap risers around, then see if any of them is faulty.
It could also mean too high clock/mem oc.
Ofc before any of that do obligatory driver reinstall with DDU.
If none of that fails, try heavy underclock of the card in question. Then increase the clock bit by bit.
I had that message showing, and after a couple of hours of testing I found out my GPU was faulty. It was stable only when I downclocked heavily.
My r9 390x has stock clock of 1080, but I had to downclock to 990 to get any kind of stability. Ended up RMA-ing it, since it crashed every 5 minutes at stock speeds.
Hope this helps.
Yep, I second this. Uninstall your drivers, and be sure to install 16.12.2. I've found it runs very stable. And as Orbital said, lower clocks for stability are better than trying to squeeze ever last sol/s out of the card with bad stability.
I've found for RX 480's, I do about 1200mhz core, 2075mhz clock, -42mv undervolt, and at -i 4 in Claymore. Seems to give me about 280-290 sol/s.
RX 470, try something like 1200mhz core, 1675 memory, and again, try undervolting a bit.
I've also found that issues with power supply lead to system freezing, hanging, etc. Swapped out my old Rosewill Photon 1050 on my four card rig of RX480's, to just a crappy Sentey Metal Blade 850m. Works like a charm and very rarely hangs up.
Checking risers and whatnot are an option, but much harder to really diagnose and narrow down. I'd recommend the aforementioned fixes first before doing that. Good luck!