support a running time limit on spawned commands

consider naming the argument "timeout"

this is what the `gearman` command calls it