Delete project when upload fails (lib)