Hibernate on flush

cc @AeroNotix @aerosol