fixing syntax error, adding sleep
Merge pull request #1510 from edx/jarv/fix-db-clone

fixing syntax error, adding sleep