added some synchronisation when shutting down the computers