add some logging output for your connector pool size
simplify the error cases for connector_port_open?