This is done automatically on the roads that are not loops by design. You are being turned around by the server automatically so you can continue on riding without having to provide any input to RGT.
You can tell that you’re reaching the "end" of a road by looking at the "distance remaining" - when that drops to zero you will be turned around automatically if you're on a linear road.