trying flush exception and goto Threading