increase wait and fix doi resolution

increased the wait time to process a file
doi resolution is done in one transaction