Changes to mongodb_backend.
Reset delay when task is found.