sigint hanlder added
added sigterm signal handler. can test this by e.g. sending kill {pid} to child proc