Added close method to stage client