Wait until everything is started before starting wait for status test
("&&" instead of "&"). Status test sometimes run before everything was
up and running.
Do any working directory changes in a subshell so that working directory
of the main shell remains correct.