Better suite shutdown behaviour.

Fixes a bug that prevent job kills after issuing a shutdown order.
Fixed a minor bug in stop-after-wallclock-time.
Merge pull request #1117 from hjoliver/shutdown-kill-fix

Shutdown kill fix