PacketHandler cleanup