Manage disposal of new objects when exceptions are thrown.