Remove temp dir on start and end