thread safe queue - init