improved args, timeout config, and attempt at reovme stalls when
len(queue)=0)
removeing debug print