For Python 3.4, avoid assertion failure on thread state existence when destroying sub interpreter.