cntrl c signal working perfectly