reimplement timeout check to not force delays
reimplement timeout check to not force delays

In the earlier implementation the maximum timeout would be used
regardless of IRMA being finished or not. This would delay processing.

cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo