use time.Now for timeInPast
stop signals once initial term has been processed. fixes #5
refactor gracehttp for readability