fix broken keepAlive timeout

problem with calling `empty` is that the libevent driver implementation of `empty` checks `leastSize` and `leastSize` is blocking without a timeout. this in turn renders the keepAlive timeout useless.