What should be done if the last dose of hepatitis a vaccine is delayed?

Finish when u can. Ther is no maximum interval between the required two doses. So simply get the second dose whenever you are able. You do not need to restart the series.