modificando thread server