store transmission_id when send and remove transmission_id when recv/close