Fix for deadlock in Mesos JobTracker.