added parmas to child_process so process not stop by maxBuffer