This behavior is part of SWISv3, which updates with the product, not the SDK, which is mostly independent of the product version. This error will be the same with any SDK version.
In NPM 11.5, we improved error reporting from SWIS. For a large class of errors, including this one, you will now get a decent error message instead of the useless "500 Status read failed: Connection reset by peer". For this one, the message will be something similar to "More than one property with same Name or Alias cannot be selected when using RETURN XML AUTO. Use different Alias name or change Return format."