knights cleanup in flow_control