Try shoving api stuff into its own daemon process.