support a running time limit on spawned commands