assert if we get WANT_READ or WANT_WRITE