[thin] moved setup_process() into run()