Add RBet object to session after removing it at the end of onmessage handler