Prevent the server from sending messages to websockets that are no longer connected