stop executor once detecting container fails.