james | waiting for subprocesses to finish