public static function getConnection($id){
        
        if(isset(static::$connections[$id]) && !is_object(static::$connections[$id]) ){
            unset(static::$connections[$id]);
        }
        
        return isset(static::$connections[$id]) ? static::$connections[$id] : null;
    }