[PATCH 4/6] server: Use pipe_end state in find_available_server.