adds working mongo query closuer with time delay