Client-mode: CTRL-EVENT-BEACON-LOSS

I put one solution here.
It might be useful.