Initialize api server last.