Use socket.io instead of reacting to responses.