TLS_SOCKET_2 Handle Limit

I would like to know if there is a limit or rollover value set to the HANDLE output of the TLS_SOCKET_2 Function Block. I have tested opening and closing loopback Server + Client sockets and it seems to increment every time the connection is made, but I have not reached a value that resets the count.

In summary I would like to know the answer to the following:

                                          1. By setting the ACTIVATE input to FALSE (after previously being TRUE and a valid HANDLE being output), does this socket/handle get closed and reset, or does it just avoid re-using that socket/handle by incrementing the HANDLE output value.
                                          2. Is there a rollover/maximum value for sockets/handles for either scenario:
                                          3. Server and Client connections are continuously made without being closed. (The sockets all stay open)
                                          4. Server and Client connections are continuously made and closed.

Here are the answers from one of the developers of that FB (thanks to him for the fast reply):
1. By setting the ACTIVATE input to FALSE (after previously being TRUE and a valid HANDLE being output), does this socket/handle get closed and reset, or does it just avoid re-using that socket/handle by incrementing the HANDLE output value.On a falling edge, that socket gets properly closed and removed from an internal array. The handle would then be technically free, but we currently don’t watch for unused handles, in order to reuse them, as there is a range and rollover once the end of the range is hit.
2. Is there a rollover/maximum value for sockets/handles for either scenario Handle range: 1000
Handle start: 0x40000000
Handle end: 0x400003E8 (handleStart + handleRange)
Basically, each time there a new internal socket is created, regardless if there is a continuous create or if some get closed, the “next” handle will be gotten, which is simply a +1 to the last handle. Once the end is hit, it’ll roll over to the start again.