when jan turned to retrace his steps homeward , he was alarmed to note how near the smoke of the forest fire seemed , and as he hastened onward his alarm became almost a panic when he perceived that the rushing flames were rapidly forcing their way between himself and the cottage .