Code cleanup.
Add a 1 second delay when polling for a Galaxy history ID.