[RDY] Assert libuv event loop is properly cleaned up

Some assertions at event_teardown that should simplify finding bugs due to unclosed handles in libuv, as suggested by @aktau