PyThreadState_Get cause to crash using _PyThreadState_Current also in debug