change seq_num_arriving to -1 after handling arriving frame