fix apache run after unexpected shutdown and another process with same pid exists