Made use of the static client() method instead of the client field.
Run refresh before executing non realtime get