CONN-699:Fix for missing semicolons.

patching CONN-699 to the 4.2 branch