30 seconds should be enough to flush all threads modifying the db.