remove locks uppon nodejs restart