remove lock files before restarting