replaced open3 and added status check.
it'works without set_encoding !!