daemonizing threads
Trim servers before using them