Added KillAllProcesses before deleting the old datbase