no longer delay. implement some more callbacks for the websocket client