remove libevent