How do I stop server from listening?

Hi

I have a lobbyMap for listening for clients.
When I collected enough clients(Or time up), I command the server to travel to a gameplay Map.
Now I want the gameplay Map to stop listening, how do I do?

Because the gameplay Map still listening, other client will find the session of the server and able to join it, which is not wanted.

P.S. I use blueprint to control session. C++ answer also welcome.