The notify_done() would never log a success as the logging part was always skipped. Fix the code flow in the function.