Cleanup packetbuf