Water will evaporate and the mixture will start to look more like a dough. Before removing from flame make sure the mixture should look like a dough. If it is still runny, keep stirring till it reaches the stage where it can set. If the mixture is still soft, it will not set like a burfi (fudge).