Close Python Virtual Machine