Is there any keepalive support directly by the modem?

Unfortunately there is no keep alive function or inactivity functions built in.