The answer depends upon what is making the pipe hot – whether the hot pipe is from a water heater or the boiler. Is there a separate water heater, or does the boiler make your hot water? Is the hot pipe your hot water line to the faucets?
If you have a separate water heater, and the boiler is making the line hot, the boiler should not be maintaining temperature, so someone needs to look at the control system. If the boiler makes hot water, and the hot line is not the one going to your faucets, someone needs to consider rearranging the near-boiler piping.