switch to wait2 to fix status error, add pid log entry to bootstrap