minionize/entrypoint: make sure wait_for_device is successfull before running the minion
if the emulator failed to start the entry will be tagged as an error. We can prevent this by make sure the device is up and running before run the minion.
if the emulator failed to start the entry will be tagged as an error. We can prevent this by make sure the device is up and running before run the minion.