Can't seem to catch a break

I presume the 'retaining wire' you are referring to is the circlip. They normally only come out if the engine is over revved & the lifter pumps up. Not addressing the reason for this invites a recurrence of the problem......