CA-34933: Do not GC sessions which are internal or which are used by pending tasks.
CA-34933: Do not GC sessions which are internal or which are used by pending tasks.

Signed-off-by: Thomas Gazagnaire <d17b540e4bd20a6d2c62b93674760725b3f75517@citrix.com>

djs55/xcp-networkd,koushikcgit/xcp-networkd,robhoes/squeezed,djs55/xcp-rrdd,koushikcgit/xcp-networkd,johnelse/xcp-rrdd,koushikcgit/xcp-rrdd,djs55/xcp-networkd,johnelse/xcp-rrdd,koushikcgit/xcp-rrdd,djs55/squeezed,djs55/xcp-rrdd,sharady/xcp-networkd,koushikcgit/xcp-rrdd,simonjbeaumont/xcp-rrdd,simonjbeaumont/xcp-rrdd,sharady/xcp-networkd