Additional loop, to wait for taken port by web-app before invoking bin/teardown.