When I took out /sockclose, I got errors because the socket was already open, and I've only been able to get this to successfully write the first callsign and country.