replaced locking logic by filedownloadmonitor