utils.sh: exit signal function fixed
make proc_id and etime local variables