further tinkering with the GPRS connection function