select is part of the event loop, right?