Geant4-pybind question

Hello,

When I used geant4-pybind, it run well, but the program can not stop normally. I need to use crtl+c to quit the program. The question may be due to below codes:

UImanager = g4b.G4UImanager.GetUIpointer()
UImanager.ApplyCommand(’/run/initialize’)

In C++ geant4, the runManager and UImagager can be deleted, so the program can stop normally. I don’t know what I need do in geant4-pybind.

Do you have any suggestions?
Best regards
Yuhang