Adding a wait loop to ec2_elb for the initial lb state when registering

Fixes #5305