Better error logging when programming times out.