support long polling with GetNWithTimeoutAndWait