A good thing to do as well is to go over the code that is run on each thread execution, try to cut down on unnecessary calls to new etc. Optimise the code so it will run faster.

// Json