refactor(util/thread_script_state): remove 'enable_script_state_recycling' hack