testing auto close of messages