Known bug.
Nothing to worry about as the scan actually completes but the Avast Graphic User Interface is lying. (Bug). Only fix is to check scan logs and wait for a fix.