Updated documentation about thread safety in the library