merge retry policy and window control