Add function to retry a blocking multipart read