testing pool socket reconnect logic