remove PacketWriter and receive heartbeats