Don't report close itself as cause of closure.
Added close method.