Honestly I like it as played by the button.

Turn gives us 12 outs, but we're still a 3:1 dog against pretty much anything. Bet to get your share of FE vs a player who checked 2 streets. We can call if we assume you're not check raising air, because you commit the rest of your stack there. If we miss the river, we don't lose any more, if we hit, we take the rest of your stack.

If that turn bet is an all in we have to fold, but a lot of people wouldn't fold a 12 outer there.