title: Broken pipe in pipe.stdin.write("stop\n")
body: <p>i have a problem with yandex-tank-jmeter.</p>
  
  <p>My load.ini:</p>
  
  <pre><code>[tank]
  plugin_web=/usr/lib/yandex-tank/Tank/Plugins/WebOnline.py
  [jmeter]
  jmx=tw2testplan_0_33.jmx
  jmeter_path=/home/apache-jmeter-2.11/bin/jmeter
  args=-r
  [graphite]
  address=localhost
  port=2003
  prefix=jmeter
  [web]
  port=8089
  [monitoring]
  config=monitoring.xml
  </code></pre>
  
  <p>monitoring.xml:</p>
  
  <pre><code>&lt;Monitoring&gt;
  &lt;Host address="someip"&gt;
  &lt;CPU measure="user,system,iowait"/&gt;
  &lt;System measure="csw,int"/&gt;
  &lt;Memory measure="free,used"/&gt;
  &lt;Disk measure="read,write"/&gt;
  &lt;Net measure="recv,send"/&gt;
  &lt;/Host&gt;
  &lt;/Monitoring&gt;
  </code></pre>
  
  <p>So when test trying to stop i see the next output in console:</p>
  
  <pre><code>13:18:13 INFO: Finishing monitoring
  13:18:15 WARNING: Killing 15630 with 9
  13:18:17 WARNING: Killing 15630 with 9
  13:18:21 WARNING: Killing 15630 with 9
  </code></pre>
  
  <p>Process 15630:</p>
  
  <pre><code>root@loadtest:~#  ps -ef | grep 15630
  root     15630 15593  0 13:15 ?        00:00:00 [ssh] &lt;defunct&gt;
  </code></pre>
  
  <p>then I tried to press CTRL+C:</p>
  
  <pre><code>13:19:11 INFO: Trying to shutdown gracefully...
  13:19:11 INFO: Finishing test...
  13:19:11 ERROR: Failed finishing plugin &lt;Aggregator.AggregatorPlugin instance at         0x7f0b7434afc8&gt;: I/O operation on closed file
  13:19:11 INFO: Finishing monitoring
  
  3:19:11 WARNING: Problems stopping agent: Traceback (most recent call last):
  File "/usr/lib/yandex-tank/Tank/MonCollector/collector.py", line 352, in stop
  pipe.stdin.write("stop\n")
  IOError: [Errno 32] Broken pipe
  
  13:19:13 WARNING: Killing 15630 with 9
  </code></pre>
  
  <p>Help me plz with fixing of this problem.</p>