poll Ideone properly to tell when our script is done