Revert "removed main queue blocks"

This reverts commit e4b4b0102f70f175c80d661465eaa694dcb696a1.