Fix oneflow-server delegate error(cherry picked from commit 141f01028ee4d7f4f21435552cef65b1e5b1be63)