Better reconnect support in PDO connection