close (new thread made)