Unity extension for better lifetime management of IDisposable objects