Adding exit if we're attaching so it does create new windows.