Fixing Server does not close properly

Server is now closeable and no the thread can be removed.

The thread did not stopped trying to accept new Connections, but the Server was already closed.

By the way, where is the license you are refering to?