curl -L, cleanup