Cherry-pick 9e457a8 onto 4-0-stable:Reap connections based on owning-thread death
Teach PostgreSQLAdapter#reset! to actually reset

It wasn't doing anything beyond clearing the statement cache.