Accounts.onLogin gets called after connection restored

After login, I call some subscriptions. And, until all subscriptions are done, my app shows a loading screen.

Unfortunately, Accounts.onLogin gets called after every connection restored (happens on mobile pretty often). Then loading screen appears and breaks the usage flow.

I did some work arounds and fixed the problem.

But, why this is happening? is this intended?