Add timeout to set_metadata so we don't get a 413 error