now queue blocks group by itself and time wasted on iteration over same events decreased
using atomic long to count threads