move setup of signal handler into separate Hqp_InitSignalHandler