It seems that specifying NULL to bufferevent_set_timeouts() does not remove timeout, which is described in bufferevent book (but it is not described in header). As a workaround, we specify long enough timeout to emulate removing timeout.
See README.rst