Add another debug log on exit