Fix crash when calling Selector::Select() with null timeout.