sleep before running couchapp