protect it() with pcall
fix concurrence problem in server, support ws