Welcome to Microsoft Q&A Platform, thanks for posting your query here.
There could be multiple causes for this issue, however couple of suggestions that could improve this situation.
- Setting profile configuration container.
- Configure RDP Sessions limits.
Want to check if you have set the following profile configuration container?
One more suggestion is to configure RDP Sessions limits (timeouts) through GPOs to set time limit for disconnected sessions and End session when time limits are reached:
Hope that helps.
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.