remove libevent remnants