Remove thread_safe parameter

This parameter is not needed since commit
1d0b1d3a3df9ec2ffde9bca1f1f75d64faad2d9f removed all thread-safety code