Fix a bug with addon startup causing deadlocks