Thailand kept their hopes of reaching the Asian Cup knockout stages alive with a 1-0 win against Bahrain on Thursday.