Fix to make the blocking queue configurable