Du skal frigøre din forbindelse ved at bruge PDOStatement::closeCursor() metoden
http://www.php.net/manual/en/pdostatement.closecursor .php
Jeg tror
foreach($phones as $phone)
{
$stmt = db::getInstance()->prepare("CALL phones(:phone)");
$stmt->bindParam(':phone', $phone, PDO::PARAM_INT, 10);
$stmt->execute();
$stmt->closeCursor()
$result[] = db::getInstance()->query("SELECT @phone;")->fetchAll(PDO::FETCH_ASSOC);
}
burde gøre det for dig