Vaccine- Starting Point Walk-Through

The shell exits on its own after running the /dev/tcp command. And later on when I try to get a shell on the listener back, get an error that says
bash: i: ambiguous redirect
Any ideas?