fixing client timeout stop method