Update destory msgqueue when server shutdown.