Clearing the prior message so that it does not repeat. Changed the socket.io sockets to volititle to prevent backups that stop the cockpit from responding