Next duplicate thread is deleted.

After that both threads will be deleted.