python generator send through close