Trying to wait until the socket definitely is bound.