use spawn and lazy instead of shell.exec and match-stream