Avoided crash on 2.0 by writing to disk every minute