do not destroy packet twice if message generation failed