Bernoulli two-armed bandits with geometric termination