start singleAPIThread only when apienabled = true