fix accidental wait and auth when reusing socket
update example app