remove server thread variable