You can remove this line. Terminated is no longer sent as normal message, and this is a synthetic actorref, so it does not generate it either.