trq-1886 qrerun is changed to look at the kill_delay setting. If the setting is zero qrerun behaves the same by sending the SIGKILL and immediately restarting. If the delay is non -zero then qrerun sends the SIGTERM waits the delay time and sends the SIGKILL before restarting.
Fixed a broken unit test.