Merge changes Ice6e165a,I8cb009f5

* changes:
  Remove 'dup()' from waitFenceFd
  Fix leaks of HostConnection