Fix snapshot scan timeout check in SnapshotDaemon.