Fixing a max execution timeout issue.