diff --git a/src/udp.rs b/src/udp.rs
index 5b6c234..739e698 100644
--- a/src/udp.rs
+++ b/src/udp.rs
@@ -1,5 +1,5 @@
use anyhow::Context;
-use futures_util::{pin_mut, stream, Stream};
+use futures_util::{stream, Stream};
use parking_lot::{Mutex, RwLock};
use pin_project::{pin_project, pinned_drop};
@@ -16,15 +16,20 @@ use std::task::{ready, Poll, Waker};
use std::time::Duration;
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
use tokio::net::UdpSocket;
+use tokio::sync::futures::Notified;
use tokio::sync::Notify;
use tokio::time::Sleep;
use tracing::{debug, error, info};
-type IoInner = Arc<(Notify, Mutex