Add agent
Add check if connection is open
Add connection pool