free message data upon catching an exception