Implemented a bounded work queue