Prevent creation of empty files when there's no internet connection.