dw background use thread