You're nearing the maximum connections threshold

Hi , i am using free version of Mongodb and even my site is development mode and only used by me during the test but i am getting connection reached limit. Sorry, but am i missing something if i need to close connection. Please can you explain me.
I am using Mongodb with nextjs.

Hi @Waqas_R - Welcome to the community.

Please refer to the MongoDB Atlas - Fix Connection Issues documentation which includes some possible ways of an immediate fix and details for implementing a more long term solution.