reactivate thread locking