Fixed bug of producer restarting freezing the map