Made hash table of clients thread safe

Signed-off-by: Cory Feitelson <cfeitelson@roovy.com>