Issue/693 anr signout

Fix #693 - noticeable delay/hang on signout