rm tmp file on down request error