A retry counter capable of catching specific exceptions, delay retries and logging rescues