This functionality is used for testing to ensure correct offline behavior when connectivity is missing.