Make startObserving return an ExitCode