IamworkingwithBEA-JMSCAPIinmyproject.HereIamhavingonemain()functionthreadandoneonMessagetheadforcontinousmessagehandling...IamusingSignalhandlingforstopingmyapplication(Ctrl-c)..Signalhandlingisworkinginmain()function.TheproblemcomeswhenIstoptheapplicationusingctrl-c...WhenIpressct