[PATCH 3/6] server: Reselect read queue before write queue in pipe_end_write.