Chunk server: fix device buffer wait cancel logic by resetting the device buffer manager pointer; remove redundant arguments in FailIfExceedsWait().