If a reg is cutting out, it's probably going into thermal overload and shutting down. The way a linear regulator works is by taking any voltage above the setpoint (in this case, 5V) and wasting it as heat. That heat needs to be removed from the device, or it builds up and the chip will shut...