The Profession

You keep peering around the corner to wait for the perfect time to move away from the wall, but the guard turns back and begins re-approaching you. You realised you were in a bit of a jam, so you jumped back into the position you were hiding in before. the man passes you still whistling, then he turns and begins the exact same route again. You now partially remember his route which means you possibly know the perfect time to move, but what if he decides to change his mind and turn back early. What will happen then? there is a curfew after all.