poll app until it started with the correct number of instances

[#84506394]

Signed-off-by: Matthew McNew <mmcnew@pivotal.io>