concerning AT+CREG? freeze at GSM reconnection please check also :
https://forum.arduino.cc/index.php?topic=565177.0