clear out interval id
Add async init for extensions. Make agent loading more robust, add timeout.