Remove temp assets on error