ISPN-2439 Deadlock in Map/Reduce tasks

* Make sure the cluster is started before using the intermediate cache