added scheduler logic to check when an auction has finished