Fix thread-safety of Hessian invoker

Current implementation is not really thread-safe, HashMap can cause race condition.