I would recommend that you first try to isolate the issue and find out if this is a hardware issue or a software issue. You could try to use a different brand and model of USB Hub and I would try to unplug certain devices for testing purposes, perhaps the printer first leaving the Mouse and keyboard connected. Also and I know this is not a solution but it would interesting to leave one device at a time directly connected to the USB port, this would tell us if the problem is with the USB port on the NUC.
On the software side, I would check on any USB power saving mode or configuration.
If you are running a Windows* Operating System, go to Power Settings in Control Panel and look for any suspend mode for the USB ports and disable that.
I hope this helps and please share your results.