You shouldn't have called the raise and reraise preflop.

That being said, once the turn comes, you have second nuts and are committed; you have to lose your stack come the turn.