apache: Wait until apache has stopped when we want to stop it