You can effect a sleep of 250 milliseconds this way: select(undef, undef, undef, 0.25);