fix launching hg serve daemon