clean up at stop the xapi tmp directory