Added retry logic to miss case (no data in cache)
Addressed comment
Added tests for retry cases