Start a new thread when get a message through websocket