isolated outMessageStatusState variable

isolated outMessageStatusState variable onto message_handling