loquery-download race condition solved, but found another one: locking