Pass stdio stream options to the 'play' child process. The 'stdin' and 'stdout' streams are piped, while the 'stderr' stream gets redirected to /dev/null. This fixes the stopping sound issue. It seems that if the 'stderr' stream is not consumed in some way, it clogs the pipe and the sox process hangs.