sophia: make status thread-safe