Add guards in docker commands and mark an instance as nonresponsive for later pruning if we can't talk to it.