fix a race between PutMessage and possible ShutdownQueues