GPII-75: fixed the racing conditions in server initialisation.