Fixed sendfile bug with brake in remain_data