Clean up for packets