allow setting of the 'proto'col via config
catch error if process.terminate() dies
don't try to set URI is stdout is None
don't catch all errors (and fix the problem that was caught)