Change thread_safe to use a version compatible with semantic versioning
Bump version to 0.4.2