fix oneoff scheduler bug + relevant test
metrics for downloader