Refactored preStart hook of PeerClient actor