intial work on locking queues, need to implement terminate notification