Fix naming for delay for draining the replication event queue Thread.sleep() takes milliseconds as an argument, not seconds. Otherwise, multiplying by 1000 would be a bug. Also switches to returning a long, which fixes a potential overflow when multiplying by 1000. Change-Id: I3fc5c939e8c09c134e24fa9381e96e6529b5be4d