Masked bandit captured after taking off with convenience store cash register