WaypointManager: Retry event trigger

Add:
1. retryIndex variable - to keep track of retry count
2. maxRetry variable - to set the timeout timer and as a reference to
event callback argument