runner: stop gracefully on SIGTERM

SIGTERM is the standard Unix signal for graceful shutdowns.