event (unix): implement infinite timeouts for lw_event_wait