Cannot break outside a loop