sig: simple helper func pkg for trapping signals