move remote close command into admin_action