Merge change I2867746d into eclair

* changes:
  When a thread is about to be put back onto the thread pool ensure that it is in the foreground cgroup.