Added a parameter to choose the maximum size of our events queue. I'll use it to do some tests.