Avoid early termination of libev event loop