Made DServer an interruptable thread