Properly record memory errors and timeouts