Clean sockets and temp files at exit