a tremendous rainstorm arose in the midst of the battle , though , putting an end to hostilities and allowing washington 's army to escape to reading furnace , leaving a small force behind under general anthony wayne at paoli .