Stops the server from any thread.
if true, then inner logger wouldn't be finalized
See Implementation
Stops the server from any thread.