replace hand-rolled queue with python-rq