Ok, so it seems the ppp server was disconnecting the client every 30 minutes if the connection was idle. As the 3g modem was being used as a failover solution, no traffic went through while the main communication channel was up. So I 'fixed' it by adding a netwatch action to ping an ip every minute(...