Make Remotely Closed exception more generic