[PATCH 4/6] server: Use correct timeout in select.