Fixed permanent hang if server file not necessary.