get all messages and destroy all messages