The mx_close_message is one of the few mx_* functions that don't have a context as parameter. To make them more consistent, pass the context.