use atexit to remove socket files.