Implement session pool.