Make cleanup volatile and avoid making it block-writable.