factory close
async server + fixes