trap the kill signal
Merge pull request #11 from intalio/TRAP_SIGNAL

trap the kill signal