def a_connection_closed(ctx):
    """Provide message when connection is closed by remote host."""
    ctx.msg = "Device disconnected"
    ctx.device.connected = False
    # do not stop FSM to detect the jumphost prompt
    return True