- added utils for recording cloudwatch metrics
- limit the number of attempts to cater for in the exponentia delay calculation and cache results