Stop ClosableLazy throwing NPE when close called before get

Fixes #3024.