Finally got it working just replace above big code with small one
**
_IE = new InternetExplorer();
IE.Visible = true;
IE.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(IE_DocumentComplete);
var handle = GetConsoleWindow();
ShowWindow(handle, SW_HIDE);
**
But here also i get above exception if automation failed and ie gets stuck then rest all automation will start throwing this exception. The resolution to that is i need to close the instance of failed ie from taskmanager then all will work fine again.