Seems this is because iPhone drops if not active data.

Can you use cron ton schedule a ping? You can ping Google every X seconds.

To find out how to use cron just search the forum.