Commiting Counter thread servlet example