Managed Esent database will flush its task on dispose.