put in a timeout for the spawned command