Improved PDO Connection manager.

It now will auto reestablish connection when Database's 'Wait' time expired.