Adding .close() on few objects