Add close action in issues api controller