threadsafe warning on travis