Add rake task to replicate current backlog and exit when empty

Once the process is gone, waiting.status is false