the return value of the connected state was there to allow the UI to not end up showing the wrong state on startup due to race conditions.
So why did you remove that? I can't see any new code that compensates for that issue.