Fix stderr maxBuffer exceeded.