I've had 2 Pilz relays do similar things, both bought used, so can't know how used or worn. But now I don't bother anymore and just build my own latching safety circuit using vanilla ice cube relays, they are cheap and easily replaced if they go faulty. Which to be honest I rarely have problems with, even with the cheap Chinese relays.