Gas treatment for water in tank