remove old retry code