Purchase and install via the RD Licensing Manager to legally permit multiple simultaneous user connections.
Patching termsrv.dll directly violates the Microsoft Software License Terms (EULA). termsrvdll windows server 2019