Handling Ctrl+C/Sigint in multithreaded run

Hello,

these examples not handling interrupting the run via extend command (Ctrl+C/SIGINT in my case).
For TestEm3 e.g. if I click Ctrl+C while running on Windows, I get in stdout

WARNING - Attempt to delete the solid store while geometry closed !
WARNING - Attempt to delete the logical volume store while geometry closed !
WARNING - Attempt to delete the physical volume store while geometry closed !
WARNING - Attempt to delete the region store while geometry closed !
^C

and the empty root-file.

I want that my Ctrl+C event correctly do all the EndOfRunAction features, merge and store root files and my detectors.