Workaround for exit() in plack.