get rid of Valgrind warnings due to libev re-alloc behavior