Logs slave transaction pushing failures at most every 5 seconds

or if different types of exceptions gets thrown. Introduces a little
utility CappedOperation which abstracts those conditions.