try/finally on the failable flush,spinlocks around very rarely code, bad stuff ;)