wait.c: Close an unneeded pipe when initialization finished
Introduce --keep-output option that prevents appjail from closing stdout/stderr in -d mode