switching to blocking queue