I too am experiencing this problem (locking up RDM after logging off a RDP session), I didn't seem to have it prior to installing 10.0.4.0. I also am getting "Because of a protocol error, this session will be disconnected. Please try connecting to the remote computer again."
If I close RDM I am usually then able to connect to the remote computer.
If I close RDM I am usually then able to connect to the remote computer.