added thread safe to readme