fix bug: touch capture screen sometimes cause server crash due to childProc.stdin.write cause error