removed lshandler deletion after closing.