start dthread upon startup