Set lastPacket to null when communication stopped to prevent responding to any non-NC apps.