enable threadsafe mode

http://tenderlovemaking.com/2012/06/18/removing-config-threadsafe.html