Prevent server from infinite looping when google docs refresh fails