Wait for completion of registering the redis port in a reliable way