Added termination of option process if set_option returns nil.