This figure shows the jconsole login screen after connection failure. The dialog box reads Connection failed: Retry? There is a Reconnect and Cancel button.
jconsole