host - server multithreading
debug