Rx470 stops giving signal to monitor

I have two monitors set up with one plugged into the motherboard via a VGA cable and the other monitor plugged into the graphics card via a HDMI cable. After about 15 -30 minutes the HDMI monitor will turn black and then turn off randomly. I have to restart whole pc to make it work again. Any solutions?

 

XFX  Radeon (TM) RX 470 Graphics

Desktop

Windows 10 64bit

Radeon Software Version

17.1.2

8gb RAM

intel core i5 6500

Gigabyte b150 ds3h

Samsung 1920x1080p 60Hz