Fixed bug where we were cleaning out the directory that contained the status.pid.