catch up with Mojolicious 4.0. added finish_rendering helper