Fixed destruction of JVM

If the attach fails, the code goes to line 53 and a new JVM is created. There is not much else we can do. Or do we?