Implement random delay