Add DisposeAfter() as extension for disposing after querying