Message window now only closes if a successful response is received for all messages sent.