Finish dtect: thread