To prevent premature sugar crystallization, add an ingredient that slows it down. You could add some corn syrup, or a little acid. If you don't want to add any other ingredients, be very careful when boiling the sugar solution. The tiniest sugar crystal on the side of a vessel may induce crystallization.