add a sleep delay