I've come across the same issue and the only change I made to fix my issue was by going into:
Horizon 7 Administrator - select your desktop pool - edit- desktop pool settings then selecting 'Never' for automatically logoff after disconnect.
Hopefully that will work for you.
Thanks for the reply but unfortunately the pool is already configured that way.
Did you ever get an answer for this?