[PATCH 5/6 v2] server: Use correct clock in select.