Arduino Leonardo choking after a few loop()s : So, I'm making a GPS tracker that sends the data to a server, but after 1-2 loop() cycles of working perfectly(it sends the packages), but then it chokes(stops making output to Serial and does not send anything)
Why is this happening and how to fix it?
gps is connected through UART via HardwareSerial and gprs also through UART via SoftwareSerial.

