fix bug with DTLS and IO Pools