CLEREZZA-884: not attempting to call close() on null