Missing synchronized keywords

Lost during merge in https://github.com/traff/jediterm/commit/1fb3b1405fa919db073a86bc680cf28ad36dd26f