BUG fixing DB Conn Broken in 3.1.4 by using register_shutdown_function i...

...nstead of overriding __destruct.