this probably won't work
Wait up to 2 seconds for the PHP api to spin up.