Make the process sleep if too many retries are reached