use libev for timers and aio with xlib connection