Added method for waiting for result of reliable message sending.