Returning DB to a stable state