Swithced to event-based close;