[minor] don't daemonize the API
[minor] API compilation fix