optimize curl-loader container clean up