Fixing logfile reading support's side effect bugs: i.e. SPADE doesn't shutdown properly