Make "connection_pool" demo work on python 3