Use gc collect before checking the tango Device
(cherry picked from commit d5a5b67c)
Fix the CI fail introduced by !4574 (merged), which reach pytango 9.3.3 (previously 9.3.2)
(cherry picked from commit d5a5b67c)
Fix the CI fail introduced by !4574 (merged), which reach pytango 9.3.3 (previously 9.3.2)