Cleanup old temp files when a connection failed