Trying to change the timing of the websocket events.