Implement Dispose pattern, Implement manage local variable by statement.