Restarting GPRS modem support

If we have problems to connect to GPRS we try it for limited times so
SMS can work and code doesn’t go to infinite loop.