Don’t wait forever for the Companion to start

In the Emulator (or USB) don’t wait forever for the Companion to
start. Try a certain number of times and then give up.

Change-Id: I441866ebedbc9517f0f95897863197a41914d8d8