rdp uses an emulated rdp GPU and audio device, which is removed if the session is disconnected. It is for OBS as if someone removes the GPU and audio device on the fly, so OBS isn't able to continue.
Don't use rdp in connection with OBS. Use some remote control software that mirrors the console of the remote machine such as VNC.