Closing thread ... updating header in a new thread.