Be valgrind clean on error exit