Added onConnect and reset methods for any-db pool