avoid running samples with infinite loops
1st update as ruby-processing