Fix abort when calling sharedServer method repeatedly.