does kill the threads in 20 seconds or so. But sometimes it generates a core file
The core file generated has following information
Core was generated by `openhpid -c /etc/openhpi/openhpi.conf.oa_ccc2_10_decrypted'.
Program terminated with signal 11, Segmentation fault.
Missing separate debuginfos, use: debuginfo-install openhpi-3.4.0-1.x86_64
looks like oa_handler->mutex is NULL or a corrupt pointer. Assigning a lower priority as it happens rarely and observed only when exiting.