Fix freerdp connection closing