Stop listening for new client connections and terminate all
A value of zero is returned if the server was stopped,
otherwise a non-zero error code is returned which indicates the cause
of the failure.
The Stop method instructs the server to stop accepting
client connections, disconnects all active client connections and
terminates the thread that is managing the server session.