Error if trying to use disconnected remote

If actions that require a remote connection are called when
disconnected, then raise an error.