use sqlite as better fifo for queue