support NULL object as no timeout to event_add()