a bit more robust at handling instance startup and failures