Refactored Pool stats, counting failed connections, fixed instantion errors when connections failed