fix undefined .offline  (#12410)
fix undefined .offline  (#12410)

* fix race where it was possible to send END before all the takes had happened

keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client