Modifications to atexit callback execution in sub interpreters for Python 3.4.