xrdp: encoder shutdown fix