Fix: Remove duplicate definition of mainloop_io_t from headers
Fix: cib: Prevent memory leak during connection setup