Use a maximum of 8 threads in the event dispatcher