Added a loop to try process.