fix the sigint handler operation of the singleton