Handle docker connection errors more gracefully.