Increase default pool size to 40
Add support for periodic heartbeats and auto reconnects