BC68 socket problem

Hello, dear!
I have a problem with the BC68 module.
I’m using a tcp request.
I create a connection, send a request, read the response, and close the socket.
But after closing socket 0, socket 1 opens, then socket 2, then socket 3, 4, 5, 6. After that, the socket doesn’t open, and I have an error, and I have to restart the module to send a new request.
How can I make sure that after opening socket 0 and closing socket 0, socket 0 also opens again

Hi Pacefist
When AT+NSOCR creates Socket, use 0 for so that the local port number will not be occupied.
Use the channel returned by the module when creating SOCKET, as shown below:
Because other services, such as MQTT, CoAP, etc., may occupy Socket.