added threading voodoo so multiple clients works

Signed-off-by: Garage Pythons <garagepythons@gmail.com>