BlockingCollection

Used BlockingCollection to lock the shared queue, so to sync the access.