repair bug that coused serwer crash when user want to login with bad
password. Add remove thread after client disconnect.