iOS Gmail account keeps going offline

Using eM Client on iOS, several times now I have gotten a message that my Gmail account has gone offline. Removing the Gmail account and adding it back seems to fix it issue, at least for a while.

The problem is that it keeps happening, about once a month. Once it goes offline, I need to remove and re-add the Gmail account for it to start working again.

It seems to be a recurring issue.

Both my iPhone and iPad are affected, so it is not just one device.