Fix test_allowed_address_pair test case cleanup

Make network cleanup to wait until its
dependent ports are cleaned up

Change-Id: I91f5ced7873755081f94117c6a43bffcb85faab6
Closes-bug: #1894835
1 file changed