Ctrl-D/exit behaviour for subshells.
initialize_subservice signature changed, accepting name parameter.