1.0.5-dev4.2
improved thread safety