[test] close slave pty in the parent process (otherwise, we don't receive child finished notification)
[test] close slave pty in the parent process (otherwise, we don't receive child finished notification)

also, don't set non-blocking mode on the slave pty

vovkos/axl,vovkos/axl,vovkos/axl,vovkos/axl