Attempt to reduce crashing.