Does finally work if the function returns?