doh, don't modify env ever
so freeze
introduce :rewrite_env to let you rewrite env for specific usage
make sure the socket would be closed
version bump and prepare release 0.6.2