scratch may not be started multiple times. More precise: only one instance on the computer is allowed to have 'remote sensor protocol' started.
scratchClient should be started only once.
With
ps -ef | grep scratchClient
you find the running instances of scratchClient.
The configuration can't be changed at runtime of scratchClient. If another config is needed, then stop the program and restart.