Update PDO sleep logic