Avast will not allow system to sleep

I have a Quick Scan scheduled for every morning at 7:15am (Full Scan on Sunday). I have my power settings such that the system goes to Sleep after 1 hour of inactivity, so at 7:15 my system is in Sleep mode. Avast seems able to wake it up as the scans have been run correctly, which surprised me, but I was glad it did, until I noticed that after the scan runs the system will NOT go back to sleep. The Quick Scan dialog box is always open when it completes, but I am surprised that fact causes the system not to go to sleep. Is there something I can change to fix this issue ? I do not want to use Shut down computer after scan finishes, I just want the system to go back to sleep.

Windows 7 Pro
Program Version: 20.3.2405
UI Version: 1.0.512

  • Avast Scan Report
  • This file is generated automatically
  • Scan name: Quick Scan
  • Started on: Thursday, May 14, 2020 7:15:00 AM
  • VPS: 200513-0, 05/13/2020

C:$Recycle.Bin\S-1-5-21-2349543752-3367631188-153066390-1001$RP6SX83 [E] The system cannot find the path specified (3)
C:$Recycle.Bin\S-1-5-21-2349543752-3367631188-153066390-1001$RVBN2SB [E] The system cannot find the path specified (3)
Infected files: 0
Total files: 312252
Total folders: 50488
Total size: 104.3 GB

  • Scan stopped: Thursday, May 14, 2020 7:30:10 AM
  • Run-time was 15 minute(s), 10 second(s)

Hi,

In Win 7 (Control Panel\Hardware and Sound\Power Options\Edit Plan Settings), what is your current Power setting?