Changing pendingRequests q to a LinkedBlockingQueue