Merge changes from topic "ob1"

* changes:
  Fix off by one error in getMaxSpeechInputLength().
  Stop synth when tts client dies.