handle errors
implement draft of ServiceConnection and an example