Simple Aggregate Takes a lifetime to load (Mongoose)

Am I doing something wrong here? I always get a timeout everytime I do this query

const propAggregate = await PropertyModel.aggregate([

            {
                $match: { floors: { $gte: 10 } }
            },

            {

                $group: {
                    _id: { $toUpper: '$propertyType' },

                    maxPrice: { $max: '$price' }

                }

            },
            {
                $sort: {
                    maxPrice: 1
                }
            },

        ]);

How can I delete my thread? I already got it. Once I closed some tabs and applications on my pc and freed some memory. It started to work. FYI i was connecting to the localhost