Handle's __exit more strictly