Small bug introduced during merge from master
Small bug introduced during merge from master

This was causing portIsClosed() to return immediately instead of checking until
the port was actually closed, making all our tests fail (because the PyroMixIn
for the NodeManager makes sure the pyro server is really down when shutting
down).

Signed-off-by: Rodrigo Tobar <bd955c861cbec2e41c0959cf13c7f573fa307e58@icrar.org>

steve-ord/daliuge,steve-ord/daliuge,steve-ord/daliuge,steve-ord/daliuge,steve-ord/daliuge,steve-ord/daliuge,steve-ord/daliuge