Close uprfeed if there is an error connecting to the bucket