Added IRetryPolicy and basic RunOnce implementation (+ unit tests).