If anaything that triggers an error message in a guard is followed by a comma then the server connection is lost during the syntax check.
Confirmed.
This was caused by a simple bug in a recovery rule in the parser. A fix for 3.4 and 3.5 has been checked into CVS.