“Error: cannot perform operations on a shutdown bucket"

Hello, I am getting this error when making multiple request to a bucket. “Error: cannot perform operations on a shutdown bucket" I’d like to ask you guys for a list of reasons of why this error might be happening. Thanks in advance.
I am getting this error using the NodeJs SDK.

Are you using a connection that you closed or did not keep a reference too? E.g. You created it in a function scope but are trying to access it at a global scope or in a different function scope? That’s the error I always get if I try to use a connection I already closed by calling disconnect().

our problems was that we created multiple connections to multiple buckets and somehow exhausting the number of allowed connections.