rewrote DA server to use flag to stop server greenlet