clean exit on XOpenIM failure